package com.jn.picasso.service;

import com.jn.picasso.entity.HeroEntity;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;


public interface HeroService {

    @GET("v1/pvp/hero/data")
    Call<HeroEntity> getHero(@Query("keyword") String heroName);

    @GET("v1/pvp/hero/data")
    Call<ResponseBody> getHero2(@Query("keyword") String heroName);

}
